package com.example.myprojectoffeixue;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.ListView;

public class CurtainActivity extends Activity {
    ListView lv;
    CurtainAdapter ca;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_curtain);
    }

    @Override
    protected void onStart() {
        info();
        super.onStart();
    }

    public void info(){
    MyApplication m= (MyApplication) getApplication();
    lv= (ListView) findViewById(R.id.lv_mykg);
    ca=new CurtainAdapter(m.lsb3,CurtainActivity.this,"1008");
    lv.setAdapter(ca);
     LinearLayout iv = (LinearLayout) findViewById(R.id.iv_mykaiguan);
     iv.setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                finish();

            }
        });
}


}
